package DAY1209.Demo1;

/**
 * @Author:LiRegin
 * @Date: 2019/12/9 15:05:45
 */
public class city {
    private String id;
    private String cityname;
    private String cityarea;
    private double population;

    @Override
    public String toString() {
        return "cityid:" + id +"\r\n" +
                "cityname:" + cityname + "\r\n" +
                "cityarea:" + cityarea +"\r\n" +
                "population:" + population ;
    }

    public city(String id, String cityname, String cityarea, double population) {
        this.id = id;
        this.cityname = cityname;
        this.cityarea = cityarea;
        this.population = population;
    }

    public city() {
    }

    public String getid() {
        return id;
    }

    public void setid(String id) {
        this.id = id;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getCityarea() {
        return cityarea;
    }

    public void setCityarea(String cityarea) {
        this.cityarea = cityarea;
    }

    public double getPopulation() {
        return population;
    }

    public void setPopulation(double population) {
        this.population = population;
    }
}
